<div class="status clear">

    <!--取消操作-->
    {% if order.order_status.code == 'placed' or order.order_status.code == 'pressed'%}
    <div class="pay-cansel fr" style="  margin-right: 5px; margin-top: 7px;">
        <button  data-sn="{{ order.sn }}"  class="pay_btn2 order_pay_cancel" style="margin:0 0 0 5px;">キャンセル</button>
    </div>
    {% endif %}

    {% if order.order_status.code=='placed' or order.order_status.code=='pressed' %}
    <div class="pay-botton-form fr">
<!--         {{ form_open({'request': 'onRePaymentOrder', 'class': 'checkoutForm','id':'yy_onRePaymentOrder'}) }}
        <input type="hidden" name="key" value="{{ order.sn }}">
        <button type="submit" form="yy_onRePaymentOrder" class="pay_btn">今すぐ支払う</button>
        {{ form_close() }} -->
        <a href="/repay-{{ order.sn }}-{{ order.payment_method }}-p.html" class="pay_btn">今すぐ支払う</a>
    </div>
    {% endif %}

    <!--催发货提示后台改下ERP状态状态-->
    {% set is_display_ship_reminder = catalog.orderReminderDate(order.created_at) %}
    {% if order.order_status.code == 'paid' and is_display_ship_reminder==1 %}
    <div class="pay-botton-form fr">
        <button  data-request="onOrderShipReminder" data-request-data="sn: {{ order.sn }}"  class="pay_btn2 pay_btn">出荷を催促する</button>
    </div>
    {% endif %}

    <!--确认收货弹框，修改订单状态-->
    {% if order.order_status.code == 'delivered' %}
    <div class="pay-cansel fr" style="margin-right: 5px;">
        <button data-request="onConfirmReceipt" data-request-data="sn: {{ order.sn }}"  data-request-confirm="ご荷物は受け取りましたか？" class="pay_btn2 pay_btn">受取の確認</button>
    </div>
    {% endif %}

    <!--点击进入物流详情页面-->
    {% if  order.order_status.code == 'paid' or order.order_status.code == 'delivered' or order.order_status.code == 'confirmreceipt' %}
    <div class="pay-botton-form fr" style="margin-right: 5px;">
        <button  href="/viewlogistics-{{ order.sn }}.html" class="pay_btn2 pay_btn">物流情報のチェック</button>
    </div>
    {% endif %}
</div>